Directorist\Review\Comment B

Total Complexity 80
Dependencies 4
Dependents 5
Total lines 444
Lines of code 265
Logical lines of code 132
Comment lines 112
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
validate_data()
B
41 22 46
set_comment_status()
A
55 12 18
wp_count_comments()
A
44 9 47
preprocess_comment_data()
A
58 9 13
post_rating()
S
55 6 18
on_comment_post()
S
65 4 8
get_review_counts_for_listing_ids()
S
53 2 25
get_average_rating_for_listing()
S
54 2 23
get_rating_counts_for_listing()
S
55 2 22
is_default_comment_type()
S
78 2 3
comments_open()
S
70 2 6
clear_transients()
S
73 2 5
init()
S
60 1 12
get_review_count_for_listing()
S
75 1 4
maybe_clear_transients()
S
70 1 6
set_avater_comment_types()
S
79 1 3
delete_comments_count_cache()
S
80 1 3
get_rating()
S
78 1 3